package com.ftg.product.exam.entity;

import java.util.Date;
import java.lang.Double;
import java.math.BigDecimal;
import javax.validation.constraints.NotNull;
import org.hibernate.validator.constraints.Length;
import java.util.List;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.FieldFill;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.diboot.core.binding.query.BindQuery;
import com.diboot.core.binding.query.Comparison;
import com.diboot.core.util.D;
import com.alibaba.fastjson.annotation.JSONField;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
* 菜单表管理信息 Entity定义
* @author kangjx
* @version 1.0
* @date 2021-01-15
* Copyright © ftg
*/
@ApiModel(value = "菜单表管理信息")
@Getter @Setter @Accessors(chain = true)
public class SysMenu extends BaseCustomEntity {
    private static final long serialVersionUID = 7933350793410522540L;

    /**
    * namecode字段的关联字典
    */
    public static final String DICT_IDNAME = "IDNAME";

    /**
    * 上级id 
    */
    @ApiModelProperty(value="上级id", example = "")
    @Length(max=100, message="上级id长度应小于100")
    @TableField()
    private String pid;

    /**
    * 图标 
    */
    @ApiModelProperty(value="图标", example = "")
    @Length(max=100, message="图标长度应小于100")
    @TableField()
    private String icon;

    /**
    * 代码名称 
    */
    @ApiModelProperty(value="代码名称", example = "")
    @Length(max=100, message="代码名称长度应小于100")
    @TableField()
    private String namecode;

    /**
    * 是否是按钮 
    */
    @ApiModelProperty(value="是否是按钮", example = "")
    @Length(max=100, message="是否是按钮长度应小于100")
    @TableField()
    private String isbtn;

    /**
    * 地址 
    */
    @ApiModelProperty(value="地址", example = "")
    @Length(max=100, message="地址长度应小于100")
    @TableField()
    private String url;

    /**
    * 名称 
    */
    @ApiModelProperty(value="名称", example = "系统管理")
    @Length(max=100, message="名称长度应小于100")
    @TableField()
    private String mname;


} 
